#include <gtest/gtest.h>

#include "rvalue_ref.h"
#include "std_move.h"
#include "std_forward.h"
#include "std_emplace_back.h"
#include "std_unordered_container.h"


/**
** @brief:  右值引用相关
** @author: yangxianpku@pku.edu.cn
** @date:   2023/12/20
*/
TEST(RValeRef, rvalue_ref) {
  EXPECT_EQ(rvalue_ref(), 0);
}


TEST(StdMove, move) {
  EXPECT_EQ(std_move(), 0);
}


TEST(StdForward, forward) {
  EXPECT_EQ(std_forward(), 0);
}


TEST(StdEmplaceBack, emplace_back) {
  EXPECT_EQ(std_emplace_back(), 0);
}


TEST(StdUnorderedContainer, unordered_container) {
  EXPECT_EQ(std_unordered_container(), 0);
}
